﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page contentType="text/html; charset=utf-8" language="java" isELIgnored="false" %>
<%@ taglib prefix="s" uri="/struts-tags"%>
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title></title>
        <link href="${pageContext.request.contextPath}/css/cont.css" rel="stylesheet" type="text/css"/>
        <script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-1.6.1.min.js"></script>
        <script type="text/javascript" src="${pageContext.request.contextPath}/js/cont_title.js"></script>
        <script>
            function monitor(){
                var flag=${flag};
//                 alert(flag);
               
                if(flag==2){
                    document.getElementById("leftFrame").src="${pageContext.request.contextPath}/help/left.action";
                    document.getElementById("mainFrame").src="${pageContext.request.contextPath}/systemnotice/showlist.action?notice.type=2";
                    document.title="最新公告";
                }
                if(flag==1)
                { document.getElementById("leftFrame").src="${pageContext.request.contextPath}/help/left.action";
                  document.getElementById("mainFrame").src="${pageContext.request.contextPath}/systemnotice/showlist.action?notice.type=1";
                  document.title="最新咨询";
                }
                 if(flag==3){
                    document.getElementById("leftFrame").src="${pageContext.request.contextPath}/help/left.action";
                    document.getElementById("mainFrame").src="${pageContext.request.contextPath}/message/showlist.action?msg.state=1";
                    document.title="用户留言";
                }
                
	
            }
        </script>
    </head>
    <body onload="monitor();">
        <div class="page">
            <!--网站头部开始-->
            <s:include value="help_top.jsp"/>
            <!--网站头部结束-->
            <!--首页开始-->
            <div class="cont">


                <div class="lb_cont" style="padding:0; width:1003px">

                    <div class="help_left" style="margin-top:10px">
                        <iframe frameborder=0 style="width:100%;height:400px" marginheight=0 marginwidth=0 scrolling=no src="${pageContext.request.contextPath}/help/help_left.jsp" id="leftFrame" name="leftFrame"  allowtransparency="true"></iframe>

                    </div>
                    <div class="help_right" style="padding-top:10px">
                      
                        <iframe frameborder=0 marginheight=0 marginwidth=0 style="width:100%;height:auto;_height:auto; padding-bottom:10px;" scrolling="no"  id="mainFrame" name="mainFrame"></iframe></div>
                </div>
            </div>
            <!--网站底部开始-->
            <s:include value="help_bottom.jsp"/>
            <!--网站底部结束-->
        </div>
        <!--首页结束-->

        </div>
    </body>
</html>
